package cn.sciento.export.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import cn.sciento.export.render.ValueRenderer;
import org.springframework.core.annotation.AliasFor;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ExcelColumn {
    @AliasFor("zh")
    String title() default "";

    @AliasFor("title")
    String zh() default "";

    String en() default "";

    String promptKey() default "";

    String promptCode() default "";

    boolean showInChildren() default false;

    int order() default 1;

    String pattern() default "";

    boolean child() default false;

    String width() default "3000";

    boolean editable() default true;

    Class<?>[] groups() default {};

    Class<? extends ValueRenderer>[] renderers() default {};

    boolean defaultSelected() default false;
}
